<template>
  <div>
    <div class="margin-container-list radius-container">
      <el-steps :active="activeNum" class="step-bar div-styls" finish-status="success" align-center>
        <el-step title="发布需求"></el-step>
        <el-step title="酬金托管"></el-step>
        <template v-if="showFlagType == 1">
          <el-step title="报名录用"></el-step>
        </template>
        <template v-if="showFlagType == 2">
          <el-step title="微客参与/申请验收"></el-step>
        </template>
        <el-step title="验收支付"></el-step>
        <el-step title="已完成"></el-step>
      </el-steps>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        activeNum: 1,
        showFlagType: 1
      }
    },
    mounted() {
      this.$bus.$on('project.task.edit.remunerationTypeModel', e => {
        if (e) {
          this.showFlagType = 2
        } else {
          this.showFlagType = 1
        }
      })
    },
    methods: {

    }
  }
</script>
<style lang="less" scoped>
  .time-line{
    width: 20%;
    float: left;
    .time-box{
      position: fixed;
      width: 19%;
      right: 0;
      top: 50px;
    }
  }
  .detila-div-80{
    float: left;
    width: 80%;
  }
  .avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .avatar-uploader .el-upload:hover {
    border-color: #409EFF;
  }
  .container-nonebg{
    box-shadow: 0 0 0;
    border: none;
  }
  .time-line{
    width: 20%;
    float: left;
    .time-box{
      position: fixed;
      width: 19%;
      right: 0;
      top: 95px;
    }
  }
  .detila-div-80{
    float: left;
    width: 80%;
  }

  .div-styls{
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .el-tabs__item{
    font-size: 20px;
  }
</style>
